package com.project.fortuneteller.controller;

import com.project.fortuneteller.utils.Result;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
// 测试 接口
@RestController
public class TestController {

    @RequestMapping("/test")
    public String getNameById(String id){
        System.out.println("测试接口入参，id="+id);
        return "lili";
    }

    @RequestMapping("/upload") // 文件的上传功能
    public Result uploadFile(){
        Result result = new Result();
        return result;
    }




}
